package com.lanou.dormitory.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lanou.dormitory.dao.MenuMapper;
import com.lanou.dormitory.entity.Menu;

@Service
public class MenuServiceImpl implements MenuService{

	@Autowired
	private MenuMapper menuMapper;
	
	@Override
	public List<Menu> getMenusByIds(List<Integer> ids) {
		
		return menuMapper.getMenusByIds(ids);
	}

}
